package org.example.springboot.convert;

import org.example.springboot.entity.IrrigationStat;
import org.example.springboot.vo.IrrigationStatVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-08-05
*/
@Mapper
public interface IrrigationStatConvert {
    IrrigationStatConvert INSTANCE = Mappers.getMapper(IrrigationStatConvert.class);

    IrrigationStat convert(IrrigationStatVO vo);

    IrrigationStatVO convert(IrrigationStat entity);

    List<IrrigationStatVO> convertList(List<IrrigationStat> list);

}